package com.sc.demo.service.impl;



import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sc.demo.dao.UserDao;
import com.sc.model.User;
import com.sc.service.UserService;

/**
 * @author huan
 *
 */
@Service
public class UserServiceImpl implements UserService{
	

    @Resource
    private UserDao userDao;


	@Override
	public User selectUserById(String id) {
		return userDao.selectUserById(id);
	}


	@Override
	public void insert(Map<String , Object> entity) {
		userDao.insert(entity);
	}


}
